Add GtkGestureMultiPress
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 27 Feb 2014 14:26:48 +0000 (15:26 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:21 +0000 (19:54 +0200)
commit450c754c7c7db8cce282d2e372ab5f92d97453ff
tree89832cb6d402618c3ec9cd47e558e44e8e44d516
parent8026bc36512fa7ee94061c161ba858cb87ff8144
Add GtkGestureMultiPress

This gesture handles any number of clicks, ensuring multiple presses
stay within thresholds and timeouts. When anything of that happens,
the gesture is reset and press count starts from 1 again.

Optionally, the gesture can be given a rectangle, used in in presses > 1
to ensure the consecutive presses happen on user imposed areas.
gtk/Makefile.am
gtk/gtk.h
gtk/gtkgesturemultipress.c [new file with mode: 0644]
gtk/gtkgesturemultipress.h [new file with mode: 0644]